//
//  HelpModel.h
//  RainbowFM
//
//  Created by Kratos on 14/12/24.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "BaseModel.h"

@interface HelpModel : NSObject

+(instancetype)sharedModel;

/**
 * 便民信息
 * @param type 类型 1 失物， 2 寻人, 3 节目推荐信息
 * @param currentPage 当前页码
 * @param pageSize 每页显示记录数
 * @return <#return value description#>
 * @author Kratos
 */
-(void)fetchHelpListWithType:(NSString *)type
                 currentPage:(int)currentPage
                    pageSize:(int)pageSize
                      result:(void (^)(NSArray *list, NSString *msg))res;


/**
 * 添加便民信息
 * @param desct 简单描述
 * @param detilDesc 详细描述
 * @param picUrl 图片地址, 没有传 “”
 * @param meUrl 媒体地址, 没有传 “”
 * @param type 类型 1 失物， 2 寻人
 * @return <#return value description#>
 * @author Kratos
 */
-(void)addHelpInfoWithDesct:(NSString *)desct
                  detilDesc:(NSString *)detilDesc
                     picUrl:(NSString *)picUrl
                      meUrl:(NSString *)meUrl
                       type:(NSString *)type
                     result:(void (^)(BOOL success, NSString *msg))res;
@end


@interface HelpItem : BaseModel
@property (nonatomic , strong) NSString *programId;
@property (nonatomic , strong) NSString *DESCT;
@property (nonatomic , strong) NSString *DETILDESC;
@property (nonatomic , strong) NSString *PICURL;
@property (nonatomic , strong) NSString *MEURL;
@property (nonatomic , strong) NSString *TYPE;
@property (nonatomic , strong) NSString *CREATEDATE;
@property (nonatomic , strong) NSString *CREATEUSER;
@property (nonatomic , strong) NSString *totalResults;
@end
